package com.blog.action;

import java.io.InputStream;

import org.apache.struts2.ServletActionContext;

import com.opensymphony.xwork2.ActionSupport;

public class DownLoadAction extends ActionSupport{
	
	public InputStream getTargetFile()throws Exception{
		return ServletActionContext.getServletContext().getResourceAsStream("upload/jquery-1.5.1.js");
	}
	
	@Override
	public String execute() throws Exception {
		return "success";
	}

}
